Skip to content

feat: remove duplication from TriggerView and EnvTriggerView#2830

Merged
AbhishekA1509 merged 52 commits intodevelopfrom
fix/trigger-view
Aug 7, 2025
Merged

feat: remove duplication from TriggerView and EnvTriggerView#2830
AbhishekA1509 merged 52 commits intodevelopfrom
fix/trigger-view

Conversation

@AbhishekA1509
Copy link
Member

@AbhishekA1509 AbhishekA1509 commented Jul 15, 2025

Description

Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.

Fixes https://github.com/devtron-labs/sprint-tasks/issues/2440

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

QA

Checklist:

  • The title of the PR states what changed and the related issues number (used for the release note).
  • Does this PR require documentation updates?
  • I've updated documentation as required by this PR.
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas

- Removed unused properties and methods from TriggerViewContext and TriggerViewState interfaces.
- Updated TriggerViewContextType to simplify context management.
- Cleaned up CIMaterialState and related interfaces.
- Adjusted WorkflowProps to include openCIMaterialModal function.
- Modified TriggerCINode to utilize openCIMaterialModal instead of context.
- Enhanced processCIMaterialResponse to ensure type safety with CIMaterialType.
- Updated getCIMaterialList function parameters for better clarity.
- Removed unused route WEBHOOK_RECEIVED_PAYLOAD_ID from routes configuration.
@AbhishekA1509 AbhishekA1509 self-assigned this Jul 15, 2025
@AbhishekA1509 AbhishekA1509 marked this pull request as draft July 15, 2025 19:32
@github-actions
Copy link

Some linked issues are invalid. Please update the issue links:\nIssue # in is not found or invalid (HTTP 404).\n

@github-actions github-actions bot added the PR:Issue-verification-failed PR:Issue-verification-failed label Jul 15, 2025
- Updated the logic to correctly set the `isSelected` property of the material to ensure the correct material state is maintained.
- Modified the `setMaterialList` function to set `isMaterialLoading` for the selected material while leaving other properties unchanged, improving the loading state handling during material fetching.
- Refactored GitInfoMaterial to support bulk CI triggering, including handling of multiple applications and their respective states.
- Introduced new service functions for triggering builds and managing errors.
- Added utility functions for payload generation and validation of materials.
- Updated TriggerBuildSidebar to render application-specific materials and cache options.
- Implemented new types and interfaces for better type safety and clarity.
- Enhanced user experience with informative tooltips and error handling for CI configurations.
@AbhishekA1509 AbhishekA1509 marked this pull request as ready for review July 24, 2025 07:29
vivek-devtron
vivek-devtron previously approved these changes Aug 1, 2025
RohitRaj011 and others added 19 commits August 4, 2025 11:10
refactor: ConfigMapSecret and EnvironmentOverride components - streamline state management and improve data fetching with useQuery
fix: pick status for linked ci similar to ci node
feat: add cluster status cell from fe-lib
@AbhishekA1509 AbhishekA1509 dismissed stale reviews from vivek-devtron and RohitRaj011 via 6926117 August 7, 2025 06:02
@sonarqubecloud
Copy link

sonarqubecloud bot commented Aug 7, 2025

Quality Gate Failed Quality Gate failed

Failed conditions
B Reliability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

@AbhishekA1509 AbhishekA1509 merged commit 96bd8b9 into develop Aug 7, 2025
9 of 10 checks passed
@AbhishekA1509 AbhishekA1509 deleted the fix/trigger-view branch August 7, 2025 06:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PR:Ready-to-Review PR:Ready-to-Review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants